package fanshe4;

import org.omg.CORBA.PUBLIC_MEMBER;

public class User {
    private int age;
    private String name;
    public  String hover;


    public User() {
    }

    private User(int age, String name, String hover) {
        this.age = age;
        this.name = name;
        this.hover = hover;
    }


    public User(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", hover='" + hover + '\'' +
                '}';
    }

}
